/**
 * Created by mill on 2017/11/19.
 */
import React from 'react';
import {render} from 'react-dom';

var names = ['Alice', 'Emily', 'Kate'];
render(
    <div>
        {
            names.map(function (name, index) {
                return <div key={index}>Hello, {name}!</div>
            })
        }
    </div>,
    document.getElementById('example')
);

